package top.aicey.ai.sparring.entity.system;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import top.aicey.ai.sparring.entity.BaseEntity;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 系统-菜单表
 * </p>
 *
 * @author 白杨
 * @since 2025-01-24
 */
@Getter
@Setter
@TableName("system_menu")
public class Menu extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 父id
     */
    private Long parentId;

    /**
     * 惨淡名
     */
    private String title;

    /**
     * 路径
     */
    private String path;

    /**
     * 关键key
     */
    private String keyword;

    /**
     * 图标
     */
    private String icon;

    /**
     * 排序
     */
    private Integer orderId;

    /**
     * 存活
     */
    private Boolean keepalive;
}
